[DEPRECATED: use
GET /manage/v3
and
POST /manage/v3
instead.]
pkgname
.
200 OK
is returned if the package exists. Otherwise 404 Not Found
is returned.
manage-user
role, or the
following privilege:
http://marklogic.com/xdmp/privileges/manage
curl -i -X HEAD --digest -u admin:admin -H "Content-type: application/xml" \ "http://localhost:8002/manage/v2/packages/test-package" ==> Checks for the existence of a package named "test-package".